package flexconsole.events {
	import flash.events.Event;
	
	import flexunit.framework.Assert;
	
	public class CategoryEvent extends Event {
		static public const SELECTION_CHANGE:String = "flexconsole.events.CategoryEvent.SELECTION_CHANGE";
		
		static public const OPEN_CHANGE:String = "flexconsole.events.CategoryEvent.OPEN_CHANGE";
		
		static public const REMOVE_ALL:String = "flexconsole.events.CategoryEvent.REMOVE_ALL";
		
		static public const REMOVE:String = "flexconsole.events.CategoryEvent.REMOVE";
		
		public var item:XML;
		
		public var state:Boolean;
		
		public function CategoryEvent(type:String, item:XML = null, state:Boolean = true) {
			super(type, true, true);
			this.item = item;
			this.state = state;
		}
	
	}
}